#////////////////////////////////////////////////////////////////////////////
#//
#// Author      : Luis M. de la Cruz Salas
#// Date        : Sun Apr  6 14:56:24 BST 2008
#//
#////////////////////////////////////////////////////////////////////////////

# For graphics add -DWITH_GNUPLOT for gnuplot or -DWITH_DX for OpenDx
# or -DWITH_AM

include	../tuna-cfd-rules.in

all :	heat1 heat2 heat3 oops 

heat1: heat1.o 
	$(CXX) $< -o $@ $(LIBS)

heat1.o: heat1.cpp
	$(CXX) $(CXXFLAGS) -DWITH_GNUPLOT $(INCLUDES) -c $<

heat2: heat2.o 
	$(CXX) $< -o $@ $(LIBS)

heat2.o: heat2.cpp
	$(CXX) $(CXXFLAGS) -DWITH_GNUPLOT $(INCLUDES) -c $<

heat3: heat3.o 
	$(CXX) $< -o $@ $(LIBS)

heat3.o: heat3.cpp
	$(CXX) $(CXXFLAGS) -DWITH_DX $(INCLUDES) -c $<

oops: oops.o 
	$(CXX) $< -o $@ $(LIBS)

oops.o: oops.cpp
	$(CXX) $(CXXFLAGS) -DWITH_DX $(INCLUDES) -c $<

clean:
	/bin/rm -f *.o *.ii heat1 heat1.o heat2 heat2.o heat3 heat3.o oops oops.o *~
